/**
 * @projectName yygh_parent
 * @package com.atguigu.yygh.hosp.service
 * @className com.atguigu.yygh.hosp.service.HospitalService
 */
package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Hospital;
import com.atguigu.yygh.vo.hosp.HospitalQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * HospitalService
 * @description
 * @author zyw
 * @date 2023/5/24 14:47
 * @version 1.0
 */
public interface HospitalService {
    void save(Map<String, Object> paramMap);

    String getSignKeyWithHoscode(String hoscode);

    Hospital getByHoscode(String hoscode);

    Page<Hospital> getHospitalPage(Integer pageNum, Integer pageSize, HospitalQueryVo hospitalQueryVo);

    void updateStatus(String id, Integer status);

    Hospital detail(String id);

    List<Hospital> findByHosname(String hosname);

    Hospital getHospitalByHoscode(String hoscode);
}
